#pragma once

#include "Texture2D.h"
#include "Engine/AuxTypesDX9.h"

class CTexture2DDX9: public CTexture2D
{
private:
    IDirect3DTexture9        *m_pTexture;
    IDirect3DSurface9        *m_pTextureSurface;

public:
    CTexture2DDX9                        ( );
    ~CTexture2DDX9                       ( );
    virtual mBool CreateFromFile         ( mString a_sFileName );
    virtual mBool Create                 ( mUInt a_uWidth, mUInt a_uHeight, TImageFormat a_ImageFmt );
    IDirect3DTexture9 *Texture           ( );
};